<script>//<![CDATA[
    alert('{$msg}');
    top.location.href = top.location.href;
//]]></script>
